package com.aboo.service;

import java.util.List;

import com.aboo.po.Page;
import com.aboo.po.RolePO;
import com.aboo.pub.exception.BasicException;
import com.aboo.pub.result.ResultInfo;

public interface RoleService {

	public void saveRole(ResultInfo ri, RolePO param) throws BasicException;
	
	public void deleteRole(ResultInfo ri, List<String> roleIds) throws BasicException;
	
	public void updateRole(ResultInfo ri, RolePO param) throws BasicException;
	
	public void findRole(ResultInfo ri, RolePO param) throws BasicException;
	
	public void findRoleList(ResultInfo ri, RolePO param, Page page) throws BasicException;
	
	public void findRoleCount(ResultInfo ri, RolePO param) throws BasicException;
	
	public void findRoleMenuList(ResultInfo ri, Integer roleId) throws BasicException;
	
	public void deleteRoleMenuList(ResultInfo ri, Integer roleId, List<Integer> menuIds) throws BasicException;
	
	public void saveRoleMenuList(ResultInfo ri, Integer roleId, List<String> menuIds) throws BasicException;
	
}
